package com.wanbang.entities;

public class ShoppingCar {
	private Integer shoppingCarId; 
	private Integer userId;
	private Integer goodsId;
	private Integer goodsPrice;
	private Integer goodsNumber;
	private	Integer goodsTotalPrice;
	private Goods goods;
	
	public Goods getGoods() {
		return goods;
	}
	public void setGoods(Goods goods) {
		this.goods = goods;
	}
	public Integer getShoppingCarId() {
		return shoppingCarId;
	}
	public void setShoppingCarId(Integer shoppingCarId) {
		this.shoppingCarId = shoppingCarId;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Integer getGoodsId() {
		return goodsId;
	}
	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}
	public Integer getGoodsPrice() {
		return goodsPrice;
	}
	public void setGoodsPrice(Integer goodsPrice) {
		this.goodsPrice = goodsPrice;
	}
	public Integer getGoodsNumber() {
		return goodsNumber;
	}
	public void setGoodsNumber(Integer goodsNumber) {
		this.goodsNumber = goodsNumber;
	}
	public Integer getGoodsTotalPrice() {
		return goodsTotalPrice;
	}
	public void setGoodsTotalPrice(Integer goodsTotalPrice) {
		this.goodsTotalPrice = goodsTotalPrice;
	}
	@Override
	public String toString() {
		return "ShoppingCar [shoppingCarId=" + shoppingCarId + ", userId=" + userId + ", goodsId=" + goodsId
				+ ", goodsPrice=" + goodsPrice + ", goodsNumber=" + goodsNumber + ", goodsTotalPrice=" + goodsTotalPrice
				+ ", goods=" + goods + "]";
	}
	
	

}
